package com.jiangyg.mall.admin.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 类描述：权限变化DTO
 *
 * @author jiangyg
 * @version 4.0
 * @date 2021-10-25
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
public class PermissionDTO implements Serializable {

    private static final long serialVersionUID = -8814313524377454926L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 部门ID
     */
    private Long departId;

    /**
     * 新增的资源ID集合
     */
    private List<Long> addResourceIds;

    /**
     * 删除的资源ID集合
     */
    private List<Long> deleteResourceIds;

}
